The format is: ESCprimary final
Where primary selects one of the four logical character sets (G0 to G3) and final selects the actual character set to be mapped into the logical set.